package com.hfb.mashibing.alip8.jvm.c2_classloader;

/** 利用 ClassLoader 加载类
 *
 * @author hfb
 */
public class T005_ClassLoaderByHand {

    public static void main(String[] args) throws ClassNotFoundException {
        String loadClassFullPath = "com.hfb.mashibing.alip8.jvm.classloader.T003_ClassLoaderScope";
        Class c = T005_ClassLoaderByHand.class.getClassLoader().loadClass(loadClassFullPath);
        System.out.println(c.getName());


        T005_ClassLoaderByHand.class.getClassLoader().getResource("");
        T005_ClassLoaderByHand.class.getClassLoader().getResourceAsStream("");
    }
}
